# -*- coding:utf-8 -*-
# __author__ : "张百科"
# Date: 2021/1/23 19:27
# File: brand.py
# IDE: PyCharm
from django.db import models
from utils.common import prefix

class Brand(models.Model):
    id = models.AutoField(db_column='ID', primary_key=True)  # Field name made lowercase.
    name = models.CharField(max_length=20)
    remark = models.CharField(max_length=100, blank=True, null=True)
    logo = models.CharField(max_length=256, blank=True, null=True)
    is_delete = models.IntegerField(default=0)

    class Meta:
        managed = False
        db_table = prefix+'brand'